 {% extends "base.html" %}
 {% import "bootstrap/wtf.html" as wtf %}
    {% block title %}Index{% endblock %}
    {% block head %}
    {{ super() }}
    <style></style>
        {% block scripts %}
            {{ super() }}
            {{ moment.include_moment() }}
        {% endblock %}
    {% endblock %}

{% block page_content %}
<div class="page-header">
{#<h1>Hello,{% if name %}{{ name }}{% else %}Stranger{% endif %}!</h1>
{% if not known %}
<p>Pleased to meet you!</p>
{% else %}
<p>Happy to see you again!</p>
{% endif %}
</div>
<p>The local date and time is {{ moment(current_time).format('LLLL') }}</p>
<p>That was {{ moment(current_time).fromNow(refresh=True) }}</p>
{{ wtf.quick_form(form) }}#}
<h1>
Hello,
{% if current_user.is_authenticated %}
    {{ current_user.username }}
{% else %}
    Stranger
{% endif %}
</h1>
</div>
{% endblock %}
